Total Complexity | 78 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 448 |
Lines of code | 287 |
Logical lines of code | 143 |
Comment lines | 124 |
Methods | 21 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
check_value() | 42 | 19 | 52 | |
validate_file_type() | 44 | 10 | 43 | |
check_required() | 50 | 11 | 27 | |
queue_file_upload() | 43 | 8 | 52 | |
validate_file_size() | 55 | 4 | 19 | |
format_value() | 62 | 4 | 11 | |
validate() | 58 | 3 | 18 | |
__construct() | 53 | 1 | 24 | |
get_label() | 79 | 2 | 3 | |
get_min() | 78 | 2 | 3 | |
get_max() | 78 | 2 | 3 | |
get_max_file_size() | 78 | 2 | 3 | |
set_error() | 74 | 2 | 5 | |
get_id() | 80 | 1 | 3 | |
get_type() | 80 | 1 | 3 | |
is_enabled() | 80 | 1 | 3 | |
set_enabled() | 79 | 1 | 3 | |
is_required() | 80 | 1 | 3 | |
get_options() | 78 | 1 | 3 | |
get_accept() | 80 | 1 | 3 | |
get_error() | 82 | 1 | 3 |